<template>
  <el-button type="primary" icon="el-icon-search" @click="search(1)"
    >查询</el-button
  >
</template>
<script>
export default {
  props: {
    search: {
      type: Function,
      required: true,
    },
  },
  name: 'SearchButton',
}
</script>
